package com.sluggard.mp.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(name="列表查询请求参数",description = "列表查询请求参数")
public class ListQueryReq {

    @Schema(description = "查询条件", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private List<SearchParam> searchParams = new ArrayList<>();

    @Schema(description = "排序条件", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private List<SortOption> sortOptions = new ArrayList<>();

}
